package com.rede.didiok.common.domainEvent;

/**
 * 领域事件实体类型
 */
public enum EntityType {

    RANK_MEMBER("RANK_MEMBER", "榜单成员"),
    MOMENT("MOMENT", "动态"),
    MEMBER_COMMENT("MEMBER_COMMENT", "榜单成员评论"),
    MOMENT_COMMENT("MOMENT_COMMENT", "用户动态评论"),
    PROBLEM("PROBLEM", "面经"),
    FILE("FILE", "文件"),
    SIGN_IN("SIGN_IN", "签到"),
    RANK_PRAISE("RANK_PRAISE", "点赞"),
    COMMUNITY_PRAISE("COMMUNITY_PRAISE", "点赞"),
    COLLECT("COLLECT", "收藏"),
    EMOTICON("EMOTICON", "表情包"),
    GENERAL_EDIT("GENERATE_EDIT", "勘误"),
    NOTICE("NOTICE", "通知"),
    WATCH("WATCH", "关注"),
    CHAT("CHAT", "聊天"),
    REPORT("REPORT", "举报"),
    RESOURCE("RESOURCE", "资源"),
    MESSAGE_PUSH("MESSAGE_PUSH", "消息触达"),
    ORDER("ORDER", "订单"),
    CREDITS("CREDITS", "积分"),
    LUCKY("LUCKY", "积分抽奖"),
    WITHDRAW("WITHDRAW", "用户提现"),
    SUBJECT("SUBJECT", "专栏"),
    SUBSCRIBE("SUBSCRIBE", "订阅"),

    ;
    private final String type;
    private final String name;

    EntityType(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public String getName() {
        return name;
    }
}
